package gao.xiaolei.bluetoothcontroller.blue.callback;

import android.bluetooth.BluetoothDevice;

import gao.xiaolei.bluetoothcontroller.blue.BlueToothController;


/**
 * 类名: ScanCallback
 * 描述: 扫描回调
 */
public interface ScanCallback {
    /**
     * 扫描完成回调
     */
    void onSuccess(BlueToothController controller);

    /**
     * 扫描过程中,每扫描到一个设备回调一次
     *
     * @param device     扫描到的设备
     */
    void onScanning(final BluetoothDevice device);
}
